package s47.dqj.dao;

import java.util.List;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;

import s47.dqj.bean.MedicalEffectType;

public interface MedicalEffectTypeDaoInf {

	@Resource(name = "sessionFactory")
	public abstract void setSupperSessionFactory(SessionFactory sessionFactory);

	/**
	 * 查找所有的功能类
	 * @return
	 */
	public abstract List<MedicalEffectType> findAll();

	/**
	 * 新增
	 * @param medicalEffectType
	 */
	public abstract void save(MedicalEffectType medicalEffectType);

	/**
	 * 修改
	 * @param medicalEffectType
	 */
	public abstract void update(MedicalEffectType medicalEffectType);

	/**
	 * 删除
	 * @param medicalEffectType
	 */
	public abstract void delete(MedicalEffectType medicalEffectType);

}